<!DOCTYPE html>
<html lang="zh">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title>机构端</title>
        <script src="/Public/static/jquery-2.0.3.min.js"></script>
        <script src="/Public/static/layer/layer.js"></script>
        <link rel="stylesheet" href="__PUBLIC__/Home/css/reset.css">
        <link rel="stylesheet" href="__PUBLIC__/Home/css/style.css">
        <link rel="stylesheet" href="__PUBLIC__/Home/css/page.css" />
	</head>

	<body class="agency_box contentBox pos_rel dpflxr">
		<include file="head" />

		<!-- 2.垂直导航 -->
		<div class="navColumn">
			<a href="{:U('Mechanism/user_list')}" <if condition="$cur eq '用户管理'">class="navColumnItem actived dpflxr pos_rel"<else />class="navColumnItem  dpflxr pos_rel"</if> data-type='1'>
				<div class="lineColumn pos_abs"></div>
				<label for="">用户管理</label>
				<div class="rightArrow">
				</div>
			</a>
			<a href="{:U('Mechanism/agent')}" <if condition="$cur eq '经纪人管理'">class="navColumnItem actived dpflxr pos_rel"<else />class="navColumnItem  dpflxr pos_rel"</if>  dpflxr pos_rel" data-type='2'>
				<div class="lineColumn pos_abs"></div>
				<label for="">经纪人管理</label>
				<div class="rightArrow">
				</div>
			</a>
			
			
		</div>
		
		
		
		<!-- 二 3.1 用户管理  -->
		<div class="contentArea tabPage actived">
			<!-- 3.1.1 用户管理 -->
			<div id="employeeManage">
				<form action="" method="POST">
				<div class="caTitleBox dpflxr">
					<label for="" class="caTitle">用户管理</label>
					<div class="dpflxr hWrapper">
						<input type="text" class="searchBox" name="mobile" value="{$mobile}" placeholder="请输入手机号"/>
						<div class="headItem  dpflxr">
							<select name="" id="" class="selectBox">
								<option value="">来源</option>
							</select>
						</div>
						<div class="headItem  dpflxr">
							<select name="status" id="" class="selectBox">
								<option value="">状态</option>
								<option value="1" <if condition="$status eq 1">selected</if>>信息录入</option>
								<option value="2" <if condition="$status eq 2">selected</if>>上访</option>
								<option value="3" <if condition="$status eq 3">selected</if>>认筹</option>
								<option value="4" <if condition="$status eq 4">selected</if>>认购</option>
								<option value="5" <if condition="$status eq 5">selected</if>>签约</option>
							</select>
						</div>
						
						<div><button type="submit"  class="caBtn searchBtn">查询</button></div>
						<!-- <div class="caBtn report">导入</div> -->
						<a href="{:U('Mechanism/user_add')}" class="caBtn ">新增用户</a>
					</div>
				</div>
				</form>
				<div class="caTable card">
					<table border="0" width="100%">
							<tbody>
								<tr>
									<th scope="col" width="8%" style="border-top-left-radius: 6px;">编号</th>
									<th scope="col" width="10%" >头像</th>
								
									<th scope="col" width="8%">姓名</th>
									
									<th scope="col" width="13%">手机号</th>
									
									<th scope="col" width="8%">来源</th>
								
									<th scope="col" width="14%">意向楼盘</th>
									<th scope="col" width="8%">置业顾问</th>
									<th scope="col" width="7%">状态</th>
									
									<th scope="col" width="24%" style="border-top-right-radius: 6px;box-sizing: border-box;" >操作</th>
								</tr>
								<volist name="list" id="item">
									<tr>
										<td>{$item['id']}</td>
										<td>
											<div class="image avatar">
												<img src="{$item['img']}" >
											</div>
										</td>
										
										<td >{$item['name']}</td>
										<td>{$item['mobile']}</td>
										<td>{$item['source']}</td>
									
										
										<td>{$item['floor_name']}</td>
										<td>{$item['adviser_name']}</td>
										<td>{$item['status']}</td>
										
										<td style="box-sizing: border-box;" ><a href="{:U('Mechanism/user_add',array('id'=>$item['id']))}">编辑</a><a href="{:U('Mechanism/user_del',array('id'=>$item['id']))}">删除</a><a href="{:U('Mechanism/follow_add',array('id'=>$item['id']))}">跟进</a><!-- <a href="{:U('Mechanism/subscription_review',array('id'=>$item['id']))}">认购审核</a> --></td>
									</tr>
								</volist>
						
							</tbody>
					</table>
				</div>
					<div class="page">
			            {$_page}
			        </div>
			</div>
		
				
			
		</div>
		
		
	</body>
</html>
